package com.intelligentcar.springboot.mapper;


import com.intelligentcar.springboot.bean.City;
import com.intelligentcar.springboot.bean.Driversalary;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface CityMapper {

    //展示所有城市
    List<City> Lookcity(@Param(value = "cityName") String cityName);


    //通过创建时间查询时间
    List<City> selectTimecity(@Param(value = "addTime") String addTime);

    List<City> Lookcity2();

    //查询城市总条数
    int selectcity();

    //修改城市信息
    int updatecity(City city);

    //删除薪资
    int deletecity(Object cityId);

    //新增薪资
    int addcity(City city);


}
